package com.ks.order.feign;

import com.ks.order.model.request.ReqCreateorderDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "ks-order-server")
public interface OrderFeignClient {

    @PostMapping("/order/creation")
    Object createOrder(@RequestBody ReqCreateorderDto request);

}
